/**
 * Created by gaolk on 2015/6/8.
 */
define(['jquery','userscroll','userReg'],function($,uscroll,reg){
     function IndexAction(){

                 $('.loading').remove();
                 $('.user-list').tinyscrollbar();

                     $('#js_wright').css('left',$(document).width()/2+350+'px');

                 $('#js_login').click(function(){
                     reg.userLogin();
                 });
                 $('#js_reg').click(function(){
                     reg.userReg();
                 });

     }
    return {
        IndexAction:IndexAction
    }
});